package com.training.food.pojo;
import lombok.*;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
@Getter
@Setter
@Data
@NoArgsConstructor
@EqualsAndHashCode
@Entity
@Table( name ="initialpur" )
public class Initialpur implements Serializable{
    @Id
    private int InitialPurId;
    @Column(name="WSmarketId")
    private int WSmarketId;
    @Column(name="slaughterId")
    private int slaughterId;

    public Initialpur(int WSmarketId, int slaughterId) {
        this.WSmarketId = WSmarketId;
        this.slaughterId = slaughterId;
    }
}
